#
# DDoS primary makefile
#

SHELL = /bin/sh

RELEASE = 1.1.0

#----------------------------------------------------------- SETUP

TOPDIR = ../../../..
include $(TOPDIR)/Makefile.common

JAVAC = javac -classpath $(SSFNET_TEST_CLASSPATH)
JAVA  = java  -classpath $(SSFNET_TEST_CLASSPATH)

all: DDoS

#----------------------------------------------------------- MAKE DDoS
DDoS:
	$(JAVAC) *.java
	@echo '-------- DDoS Package 1.1.0 Built ------'
	@echo
#----------------------------------------------------------- MAKE snap
snap:
	@echo 'making snapshot...' $(RELEASE)
	($(MAKE) clean;cd ..;tar -cvzf DDoS_$(RELEASE).tar.gz DDoS;)
	@echo 'done.'
	@echo '********** UPDATE VERSION NUMBER *******'
	@echo
#----------------------------------------------------------- MAKE CLEAN
clean:
	rm -f *.class *~
	(cd demo; $(MAKE) clean)

